Skip to content

Commit

Permalink
replaced addOutpoint with addCoin with reference to handshake-org/hsd…
Browse files Browse the repository at this point in the history
  • Loading branch information
Anunayj committed Oct 2, 2021
1 parent 1c6743e commit 30d9a78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/background/wallet/bulk-renewal.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const createRenewMany = async (wallet, names) => {
output.covenant.pushU32(ns.height);
output.covenant.pushHash(await wallet.wdb.getRenewalBlock());

mtx.addOutpoint(ns.owner);
mtx.addCoin(coin);
mtx.outputs.push(output);
}

Expand Down
4 changes: 2 additions & 2 deletions app/background/wallet/bulk-transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const createTransferMany = async (wallet, names, recipientAddress) => {
output.covenant.pushU8(address.version);
output.covenant.push(address.hash);

mtx.addOutpoint(ns.owner);
mtx.addCoin(coin);
mtx.outputs.push(output);
}

Expand Down Expand Up @@ -132,7 +132,7 @@ export const createFinalizeMany = async (wallet, names) => {
output.covenant.pushU32(ns.renewals);
output.covenant.pushHash(await wallet.wdb.getRenewalBlock());

mtx.addOutpoint(ns.owner);
mtx.addCoin(coin);
mtx.outputs.push(output);
}

Expand Down
2 changes: 1 addition & 1 deletion app/background/wallet/create-register-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default async function createRegisterAll(wallet) {
output.covenant.push(EMPTY);
output.covenant.pushHash(await wallet.wdb.getRenewalBlock());

mtx.addOutpoint(ns.owner);
mtx.addCoin(coin);
mtx.outputs.push(output);
}
}
Expand Down

0 comments on commit 30d9a78

Please sign in to comment.