babylonchain / staking-api-service

Other
3 stars 4 forks source link

hotfix: Add check for disabling rbf of unbonding tx #186

Closed gitferry closed 4 months ago

gitferry commented 4 months ago

A valid unbonding tx needs to disable rbf by setting sequence to 0xffffffff. This pr added this check by introducing IsSimpleTransfer

gitferry commented 4 months ago

Added tests to cover this case

jrwbabylonlab commented 4 months ago

@gitferry could u raise PR against dev as well?