We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52de829 commit 76df006Copy full SHA for 76df006
src/new/wallet.js
@@ -1070,9 +1070,10 @@ class HathorWallet extends EventEmitter {
1070
* @param {string} txId Transaction id of the UTXO
1071
* @param {number} index Output index of the UTXO
1072
* @param {boolean} [value=true] The value to set the utxos.
1073
+ * @param {number?} [ttl=null]
1074
*/
- async markUtxoSelected(txId, index, value = true) {
1075
- await this.storage.utxoSelectAsInput({ txId, index }, value);
+ async markUtxoSelected(txId, index, value = true, ttl = null) {
1076
+ await this.storage.utxoSelectAsInput({ txId, index }, value, ttl);
1077
}
1078
1079
/**
0 commit comments