You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
getClaimableBalanceId returns incorrect id
What version are you on?
Stellar Base v8.0.0
To Reproduce
let sdk = require("stellar-base");
/*
sourceAccount = GALAXYVOIDAOPZTDLHILAJQKCVVFMD4IKLXLSZV5YHO7VY74IWZILUTO
seqNum = 114272277834498050
opNum = 0
*/
let xdr = 'AAAAAgAAAAAWC+KuQMDn5mNZ0LAmChVqVg+IUu65Zr3B3frj/EWyhQAAA+gBlfoIAAAAAgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAADgAAAAAAAFrzEHpAAAAAAAEAAAAAAAAAABYL4q5AwOfmY1nQsCYKFWpWD4hS7rlmvcHd+uP8RbKFAAAAAAAAAAAAAAAA';
let tx = new sdk.TransactionBuilder.fromXDR(xdr, sdk.Networks.PUBLIC);
let cbId = tx.getClaimableBalanceId(0);
console.log(cbId);
The function returns 000000007f156aacadf4101a920a45e312707bbf06323f79536f6b0f18afd874617f181a.
Expected behavior
With the same arguments, Stellar Python SDK returns 000000000321fe4ccc0027b330c23f3a9a4720bea524ee9e319d37deaa49c071da8a2659, which is the correct id.
The text was updated successfully, but these errors were encountered:
Describe the bug
getClaimableBalanceId returns incorrect id
What version are you on?
Stellar Base v8.0.0
To Reproduce
The function returns
000000007f156aacadf4101a920a45e312707bbf06323f79536f6b0f18afd874617f181a
.Expected behavior
With the same arguments, Stellar Python SDK returns
000000000321fe4ccc0027b330c23f3a9a4720bea524ee9e319d37deaa49c071da8a2659
, which is the correct id.The text was updated successfully, but these errors were encountered: