Skip to content

Commit

Permalink
Revert "fixed: decode transfer data bug (#3126)" (#3236)
Browse files Browse the repository at this point in the history
This reverts commit 8550acd.
  • Loading branch information
rickycodes authored Sep 30, 2021
1 parent a1f1e27 commit fb02e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/util/transactions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function decodeTransferData(type, data) {
switch (type) {
case 'transfer': {
const encodedAddress = data.substr(10, 64);
const encodedAmount = data.substr(74, 64);
const encodedAmount = data.substr(74, 138);
const bufferEncodedAddress = rawEncode(['address'], [addHexPrefix(encodedAddress)]);
return [
addHexPrefix(rawDecode(['address'], bufferEncodedAddress)[0]),
Expand Down

0 comments on commit fb02e5c

Please sign in to comment.