bip70: fix payment serialization.
This commit is contained in:
parent
dd2d9f48bd
commit
89f86ae6c5
@ -104,7 +104,7 @@ Payment.prototype.toRaw = function toRaw(writer) {
|
||||
|
||||
for (i = 0; i < this.transactions.length; i++) {
|
||||
tx = this.transactions[i];
|
||||
this.writeFieldBytes(2, tx.toRaw());
|
||||
bw.writeFieldBytes(2, tx.toRaw());
|
||||
}
|
||||
|
||||
for (i = 0; i < this.refundTo.length; i++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user