diff --git a/config/config.go b/config/config.go index 0305005..fd03621 100644 --- a/config/config.go +++ b/config/config.go @@ -107,7 +107,7 @@ var Mainnet = CHAIN_CONFIG{Name: "mainnet", } var Testnet = CHAIN_CONFIG{Name: "testnet", // testnet will always have last 3 bytes 0 - Network_ID: uuid.FromBytesOrNil([]byte{0x59, 0xd7, 0xf7, 0xe9, 0xdd, 0x48, 0xd5, 0xfd, 0x13, 0x0a, 0xf6, 0xe0, 0x78, 0x00, 0x00, 0x00}), + Network_ID: uuid.FromBytesOrNil([]byte{0x59, 0xd7, 0xf7, 0xe9, 0xdd, 0x48, 0xd5, 0xfd, 0x13, 0x0a, 0xf6, 0xe0, 0x79, 0x00, 0x00, 0x00}), GETWORK_Default_Port: 10100, P2P_Default_Port: 40401, RPC_Default_Port: 40402, diff --git a/config/version.go b/config/version.go index 4abd40d..eecf813 100644 --- a/config/version.go +++ b/config/version.go @@ -20,4 +20,4 @@ import "github.com/blang/semver/v4" // right now it has to be manually changed // do we need to include git commitsha?? -var Version = semver.MustParse("3.4.103-0.DEROHE.STARGATE+18012022") +var Version = semver.MustParse("3.4.105-0.DEROHE.STARGATE+18012022") diff --git a/walletapi/transaction_build.go b/walletapi/transaction_build.go index 4b18962..323e5f4 100644 --- a/walletapi/transaction_build.go +++ b/walletapi/transaction_build.go @@ -136,7 +136,7 @@ rebuild_tx: value := transfers[t].Amount burn_value := transfers[t].Burn if fees == 0 && asset.SCID.IsZero() && !fees_done { - fees = fees + uint64(len(transfers)+2)*config.FEE_PER_KB + fees = fees + uint64(len(transfers)+2)* uint64((float64(config.FEE_PER_KB) * float64(w.GetFeeMultiplier() ))) if data, err := scdata.MarshalBinary(); err != nil { panic(err) } else {