mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
added docs, serialization functions, tests, and json formatting for btc ops is readable
This commit is contained in:
@@ -1701,8 +1701,6 @@ fn stx_transfer_btc_integration_test() {
|
||||
for tx in transactions.iter() {
|
||||
let raw_tx = tx.get("raw_tx").unwrap().as_str().unwrap();
|
||||
if raw_tx == "0x00" {
|
||||
let dbg = format!("{:#}", tx);
|
||||
info!("TX-BTC {}", dbg);
|
||||
let burnchain_op = tx.get("burnchain_op").unwrap().as_object().unwrap();
|
||||
if !burnchain_op.contains_key("TransferStx") {
|
||||
panic!("unexpected btc transaction type");
|
||||
@@ -1712,7 +1710,6 @@ fn stx_transfer_btc_integration_test() {
|
||||
}
|
||||
}
|
||||
assert!(found_btc_tx);
|
||||
assert!(false);
|
||||
|
||||
channel.stop_chains_coordinator();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user