Skip to content

Commit 8de7415

Browse files
author
Danny Diekroeger
committed
updated Segit -> Wrapped Segwit comment
1 parent b4ed3ba commit 8de7415

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/sign.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const handleSignUtxo = function(recoveryRequest, key, skipConfirm) {
116116
const txBuilder = utxoLib.TransactionBuilder.fromTransaction(transaction, network);
117117

118118
_.forEach(recoveryRequest.inputs, function(input, i) {
119-
119+
120120
// Set up chain path: chain paths come from the SDK with a leading /, which is technically not allowed by BIP32
121121
if (input.chainPath.startsWith('/')) {
122122
input.chainPath = input.chainPath.slice(1);
@@ -142,7 +142,7 @@ const handleSignUtxo = function(recoveryRequest, key, skipConfirm) {
142142
return;
143143
}
144144

145-
// Handle Segwit
145+
// Handle Wrapped Segwit
146146
const redeemScript = new Buffer(input.redeemScript, 'hex');
147147
if (input.witnessScript) {
148148
const witnessScript = new Buffer(input.witnessScript, 'hex');

0 commit comments

Comments
 (0)