From 274b7dedeb8a6135b8aae3a2f110127b7b744052 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Mon, 2 Jan 2023 10:14:04 -0800 Subject: [PATCH] Avoid push_scriptint (#1136) --- src/index.rs | 2 +- src/subcommand/server.rs | 8 ++++---- src/templates/input.rs | 6 +++--- src/templates/output.rs | 2 +- src/templates/transaction.rs | 16 ++++++++-------- test-bitcoincore-rpc/src/state.rs | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/index.rs b/src/index.rs index d04d6a1c8c..db1bfe6005 100644 --- a/src/index.rs +++ b/src/index.rs @@ -1053,7 +1053,7 @@ mod tests { assert_eq!( context.index.find(50 * COIN_VALUE).unwrap().unwrap(), SatPoint { - outpoint: "0c4eb1fa83a7d6ce0e21e5e616a96e83a7b1658170fb544acf6f5c6a2d4b3f90:0" + outpoint: "30f2f037629c6a21c1f40ed39b9bd6278df39762d68d07f49582b23bcb23386a:0" .parse() .unwrap(), offset: 0, diff --git a/src/subcommand/server.rs b/src/subcommand/server.rs index 5a191a290e..6eb7dd72a5 100644 --- a/src/subcommand/server.rs +++ b/src/subcommand/server.rs @@ -1399,8 +1399,8 @@ mod tests {
hash
[[:xdigit:]]{64}
target
[[:xdigit:]]{64}
timestamp
0
-
size
203
-
weight
812
+
size
202
+
weight
808
previous blockhash
659f9b67fbc0b5cba0ef6ebc0aea322e1c246e29e43210bd581f5f3bd36d17bf
prev @@ -1448,8 +1448,8 @@ next.*",

1 Output