@@ -984,23 +984,29 @@ mod test {
984984 // expected weight: 4 (scriptSig len) + 1 (witness len) + 1 (OP_PUSH) + 64 (sig)
985985 let internal_key_sat_weight = Some ( 70 ) ;
986986 // expected weight: 4 (scriptSig len) + 1 (witness len) + 1 (OP_PUSH) + 64 (sig)
987+ // + 1 (script len)
987988 // + 34 [script: 1 (OP_PUSHBYTES_32) + 32 (key) + 1 (OP_CHECKSIG)]
989+ // + 1 (control block len)
988990 // + 65 [control block: 1 (control byte) + 32 (internal key) + 32 (hash BC)]
989- let first_leaf_sat_weight = Some ( 169 ) ;
991+ let first_leaf_sat_weight = Some ( 171 ) ;
990992 // expected weight: 4 (scriptSig len) + 1 (witness len) + 1 (OP_PUSH) + 64 (sig)
991993 // + 1 (OP_ZERO)
994+ // + 1 (script len)
992995 // + 70 [script: 1 (OP_PUSHBYTES_32) + 32 (key) + 1 (OP_CHECKSIG)
993996 // + 1 (OP_PUSHBYTES_32) + 32 (key) + 1 (OP_CHECKSIGADD)
994997 // + 1 (OP_PUSHNUM1) + 1 (OP_NUMEQUAL)]
998+ // + 1 (control block len)
995999 // + 97 [control block: 1 (control byte) + 32 (internal key) + 32 (hash C) + 32 (hash
9961000 // A)]
997- let second_leaf_sat_weight = Some ( 238 ) ;
1001+ let second_leaf_sat_weight = Some ( 240 ) ;
9981002 // expected weight: 4 (scriptSig len) + 1 (witness len) + 1 (OP_PUSH) + 64 (sig)
1003+ // + 1 (script len)
9991004 // + 36 [script: 1 (OP_PUSHBYTES_32) + 32 (key) + 1 (OP_CHECKSIGVERIFY)
10001005 // + 1 (OP_PUSHNUM_10) + 1 (OP_CLTV)]
1006+ // + 1 (control block len)
10011007 // + 97 [control block: 1 (control byte) + 32 (internal key) + 32 (hash B) + 32 (hash
10021008 // A)]
1003- let third_leaf_sat_weight = Some ( 203 ) ;
1009+ let third_leaf_sat_weight = Some ( 205 ) ;
10041010
10051011 let tests = vec ! [
10061012 // Don't give assets
0 commit comments