File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
"rust:build-asm" : " (rimraf ./rust/pkg && cd rust; wasm-pack build --target=browser; wasm-pack pack) && npm run asm:build && npm run js:flowgen" ,
10
10
"rust:publish" : " cd rust && cargo publish && cd ../" ,
11
11
"asm:build" : " ./binaryen/bin/wasm2js ./rust/pkg/cardano_serialization_lib_bg.wasm --output ./rust/pkg/cardano_serialization_lib.asm.js && node ./scripts/wasm-to-asm" ,
12
- "rust:check-warnings" : " (cd rust; RUSTFLAGS=\" -D warnings\" cargo build)" ,
12
+ "rust:check-warnings" : " (cd rust; RUSTFLAGS=\" -D warnings\" cargo +stable build)" ,
13
13
"rust:test" : " (cd rust; cargo test)" ,
14
14
"js:flowgen" : " flowgen ./rust/pkg/cardano_serialization_lib.d.ts -o ./rust/pkg/cardano_serialization_lib.js.flow --add-flow-header" ,
15
15
"js:prepublish" : " npm run rust:test && rimraf ./publish && cp -r ./rust/pkg ./publish && cp README.md publish/ && cp LICENSE publish/" ,
Original file line number Diff line number Diff line change @@ -842,7 +842,7 @@ impl TransactionBuilder {
842
842
// recall: min_fee assumed the fee was the maximum possible so we definitely have enough input to cover whatever fee it ends up being
843
843
builder. set_fee ( burn_amount) ;
844
844
Ok ( false ) // not enough input to covert the extra fee from adding an output so we just burn whatever is left
845
- } ;
845
+ }
846
846
match change_estimator. coin ( ) >= min_ada {
847
847
false => burn_extra ( self , & change_estimator. coin ( ) ) ,
848
848
true => {
Original file line number Diff line number Diff line change @@ -1036,7 +1036,7 @@ fn bundle_size(
1036
1036
// converts bytes to 8-byte long words, rounding up
1037
1037
fn roundup_bytes_to_words ( b : usize ) -> usize {
1038
1038
quot ( b + 7 , 8 )
1039
- } ;
1039
+ }
1040
1040
constants. k0 + roundup_bytes_to_words (
1041
1041
( num_assets * constants. k1 ) + sum_asset_name_lengths +
1042
1042
( constants. k2 * sum_policy_id_lengths)
You can’t perform that action at this time.
0 commit comments