Closed j75689 closed 4 months ago
@ledgerhq/app-binance
1.1.7
Sign a tx with bnbcli/tbnbcli, and broadcast to the chain.
bnbcli/tbnbcli
./bin/tbnbcli send --amount 10000001:BNB --to tbnb1v4wm6hexfkxgv7gu2va6adn2qg7udz3l73g9cc --from ld0 --chain-id Binance-Chain-Ganges --node https://data-seed-pre-0-s1.bnbchain.org:443 --ledger --trust-node --memo "abc"
return signature verification failed
signature verification failed
But try cmd with different text in --memo (e.g. "123"), that will succeed.
--memo
Attempting any of the --memo fields should succeed and no signature verification errors should occur.
This problem never occurred when trying to send transactions without using ledger hardware for signing (using the local key of bnbcli/tbnbcli).
There may be inconsistencies in the encoding conversion on the ledger app (not 100% sure)
resolved: https://github.com/bnb-chain/bnc-cosmos-sdk/pull/390
Impacted Library name
@ledgerhq/app-binance
Impacted Library version
1.1.7
Describe the bug
Sign a tx with
bnbcli/tbnbcli
, and broadcast to the chain.return
signature verification failed
But try cmd with different text in
--memo
(e.g. "123"), that will succeed.Expected behavior
Attempting any of the
--memo
fields should succeed and no signature verification errors should occur.Additional context
This problem never occurred when trying to send transactions without using ledger hardware for signing (using the local key of bnbcli/tbnbcli).
There may be inconsistencies in the encoding conversion on the ledger app (not 100% sure)