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
This can be reproduced on the test introduced on this PR: #619
do_send is returning a transaction ID that then doesn't match the one shown on tx_summaries
The test sends a TX which has to be reorg'd to another block and then synced and confirmed.
// Send 100000 zatoshi to some address
let sent_tx_id = light_client.do_send([("uregtest1z8s5szuww2cnze042e0re2ez8l3d04zvkp7kslxwdha6tp644srd4nh0xlp8a05avzduc6uavqkxv79x53c60hrc0qsgeza3age2g3qualullukd4s0lsn6mtfup4z8jz6xdz2c05zakhafc7pmw0dwugwu9ljevzgyc3mfwxg9slr87k8l7cq075gl3fgxpr85uuvxhxydrskp2303", 100000, None)].to_vec()).await.unwrap();
println!("SENT TX ID: {:?}", sent_tx_id);
This is what is printed in the logs: SENT TX ID: "11b8b9f44869b52ce52d1551d301776dd71c06c7ddb59f727339643fa7992984"
Then I check that the sent transaction is tracked by the wallet
// check that the outgoing transaction has the correct height before
// the reorg is triggered
println!("{:?}", light_client.do_list_txsummaries().await);
Look closely at the ValueTransfer of the Fee , which is the same as the value sent, but NOT the one reported by do_send that is 11b8b9f44869b52ce52d1551d301776dd71c06c7ddb59f727339643fa7992984
This can be reproduced on the test introduced on this PR: #619
do_send
is returning a transaction ID that then doesn't match the one shown ontx_summaries
The test sends a TX which has to be reorg'd to another block and then synced and confirmed.
This is what is printed in the logs:
SENT TX ID: "11b8b9f44869b52ce52d1551d301776dd71c06c7ddb59f727339643fa7992984"
Then I check that the sent transaction is tracked by the wallet
This is what it's printed
Look closely at the
ValueTransfer
of the Fee , which is the same as the value sent, but NOT the one reported bydo_send
that is11b8b9f44869b52ce52d1551d301776dd71c06c7ddb59f727339643fa7992984
The text was updated successfully, but these errors were encountered: