feat: add err field to status results

This commit is contained in:
Justin Starry
2020-04-04 21:35:08 +08:00
committed by Michael Vines
parent 3120e681d6
commit b0316f82b5
9 changed files with 63 additions and 59 deletions

View File

@ -39,7 +39,8 @@ test('verify getConfirmedBlock', () => {
fee: 0,
preBalances: [100000, 100000, 1, 1, 1],
postBalances: [99877, 100123, 1, 1, 1],
status: {Ok: 'null'},
status: {Ok: null},
err: null,
},
},
{
@ -48,7 +49,8 @@ test('verify getConfirmedBlock', () => {
fee: 0,
preBalances: [100000, 100000, 1, 1, 1],
postBalances: [99544, 100456, 1, 1, 1],
status: {Ok: 'null'},
status: {Ok: null},
err: null,
},
},
],