Skip to content

Commit 6247283

Browse files
committed
fix doc comment;
1 parent 24a2de7 commit 6247283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/ergo-lib-wasm/src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl UnsignedTransaction {
161161
}
162162

163163
/// JSON representation according to EIP-12 https://github.com/ergoplatform/eips/pull/23
164-
/// (similar to [`Self::to_json`], but with box value and token amount encoding as strings)
164+
/// (similar to [`Self::to_json`], but as JS object with box value and token amount encoding as strings)
165165
pub fn to_js_eip12(&self) -> Result<JsValue, JsValue> {
166166
let tx_dapp: UnsignedTransactionJsonEip12 = self.0.clone().into();
167167
JsValue::from_serde(&tx_dapp).map_err(|e| JsValue::from_str(&format!("{}", e)))

0 commit comments

Comments
 (0)