Skip to content

Commit 97b5b73

Browse files
committed
release: 1.0.30
1 parent 6cd070a commit 97b5b73

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/sdk/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mintlayer/sdk",
3-
"version": "1.0.29",
3+
"version": "1.0.30",
44
"description": "",
55
"main": "dist/mintlayer-connect-sdk.js",
66
"types": "dist/mintlayer-connect-sdk.d.ts",

packages/sdk/src/mintlayer-connect-sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2246,7 +2246,7 @@ class Client {
22462246
id: 'to_be_filled_in'
22472247
};
22482248

2249-
const BINRepresentation = this.getTransactionBINrepresentation(JSONRepresentation, 1);
2249+
const BINRepresentation = this.getTransactionBINrepresentation(JSONRepresentation, this.network === 'mainnet' ? 0 : 1);
22502250

22512251
const transaction_size_in_bytes = BigInt(Math.ceil(BINRepresentation.transactionsize));
22522252
const fee_amount_per_kb = BigInt('100000000000'); // TODO: Get the current feerate from the network

0 commit comments

Comments
 (0)