diff --git a/bindings/ergo-lib-wasm/src/transaction.rs b/bindings/ergo-lib-wasm/src/transaction.rs index 4b5922b0d..2d8f511df 100644 --- a/bindings/ergo-lib-wasm/src/transaction.rs +++ b/bindings/ergo-lib-wasm/src/transaction.rs @@ -163,7 +163,7 @@ impl UnsignedTransaction { } /// JSON representation according to EIP-12 https://github.com/ergoplatform/eips/pull/23 - /// (similar to [`Self::to_json`], but with box value and token amount encoding as strings) + /// (similar to [`Self::to_json`], but as JS object with box value and token amount encoding as strings) pub fn to_js_eip12(&self) -> Result { let tx_dapp: UnsignedTransactionJsonEip12 = self.0.clone().into(); JsValue::from_serde(&tx_dapp).map_err(|e| JsValue::from_str(&format!("{}", e)))