Transaction: remove untested hash array support
This commit is contained in:
parent
063643b4a1
commit
614a213d44
@ -68,7 +68,6 @@ Transaction.prototype.addInput = function (tx, outIndex) {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
hash = typeof tx === "string" ? tx : tx.hash
|
hash = typeof tx === "string" ? tx : tx.hash
|
||||||
hash = Array.isArray(hash) ? convert.bytesToHex(hash) : hash
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.ins.push(new TransactionIn({
|
this.ins.push(new TransactionIn({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user