Fix: throws errors on pazuz-wallet newAddress
This commit is contained in:
parent
32321ae66b
commit
72dbeccb4b
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ function newAddress (account, info, tx, settings, operatorId) {
|
|||
operatorId
|
||||
}))
|
||||
.then(({ data }) => {
|
||||
if(data.error) throw new Error(JSON.stringify(data.error))
|
||||
return data.newAddress
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue