Skip to content

Commit 05ed5a7

Browse files
committed
fix doc comment;
1 parent 30df9ff commit 05ed5a7

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
@@ -163,7 +163,7 @@ impl UnsignedTransaction {
163163
}
164164

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

0 commit comments

Comments
 (0)