Skip to content
Permalink
Browse files

fix send screen

  • Loading branch information
SebastienGllmt committed Dec 3, 2019
1 parent 5386d55 commit 9a32e8f08cc9389822ec69ddef62073a4456cea2
Showing with 13 additions and 9 deletions.
  1. +6 −2 app/api/ada/index.js
  2. +7 −7 config/shelley-dev.json
@@ -912,7 +912,9 @@ export default class AdaApi {
if (shouldSendAll) {
unsignedTxResponse = environment.isShelley()
? shelleySendAllUnsignedTx(
receiver,
Buffer.from(
RustModule.WalletV3.Address.from_string(receiver).as_bytes()
).toString('hex'),
addressedUtxo
)
: byronSendAllUnsignedTx(
@@ -927,7 +929,9 @@ export default class AdaApi {
const changeAddr = nextUnusedInternal.addressInfo;
unsignedTxResponse = environment.isShelley()
? shelleyNewAdaUnsignedTx(
receiver,
Buffer.from(
RustModule.WalletV3.Address.from_string(receiver).as_bytes()
).toString('hex'),
amount,
[{
address: changeAddr.addr.Hash,
@@ -14,14 +14,14 @@
"txsBodiesRequestSize": 150
},
"genesis": {
"block0_date": 0,
"slots_per_epoch": 21600,
"slot_duration": 20,
"block0_date": 1575295549000,
"slots_per_epoch": 5000,
"slot_duration": 10,
"linearFee": {
"constant": "2",
"coefficient": "1",
"certificate": "4"
"constant": "10",
"coefficient": "0",
"certificate": "0"
},
"genesisHash": "todo"
"genesisHash": "4d8b8ff16ce86f9436ac7c4b5ce454f3aaa3477c43b360c0646a258ab230b83e"
}
}

0 comments on commit 9a32e8f

Please sign in to comment.
You can’t perform that action at this time.