Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use 0 instead of returning Error in sign script check (paritytech#420)
in chainx 1.0, the script check is just use 0, not return error. But in 2.0 I use Error to return directly. However this cause create_withdraw_tx could not create an empty sign tx. Thus, we recover this part to push a zero in result, not return Error directly.
- Loading branch information