Merge pull request #1487 from bitcoinjs/addError
Add sanity check for arguments
This commit is contained in:
commit
3f6f5ef97a
3 changed files with 46 additions and 1 deletions
test/fixtures
2
test/fixtures/psbt.json
vendored
2
test/fixtures/psbt.json
vendored
|
@ -311,7 +311,7 @@
|
|||
"inputData": {
|
||||
"hash": 42
|
||||
},
|
||||
"exception": "Error adding input."
|
||||
"exception": "Invalid arguments for Psbt\\.addInput\\. Requires single object with at least \\[hash\\] and \\[index\\]"
|
||||
},
|
||||
{
|
||||
"description": "should be equal",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue