Skip to content

Commit

Permalink
fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
stallingerl committed Nov 12, 2021
1 parent fcb0c6b commit c88069c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const main = async () => {

// check if seed file is available

let addrType = "legacy"
let addrType = "p2wpkh"
let purpose
switch (addrType){
case "legacy":
Expand Down
2 changes: 1 addition & 1 deletion src/doichainjs-lib/lib/createAndSendTransaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const createAndSendTransaction = async (decryptedSeedPhrase,password,amount,dest
}

const txResponse = await sendToAddress(addressKeys, destAddress, changeAddress, amount, selectedInputs,nameId,nameValue,encryptedTemplateData) //chai.expect(addressesOfBob[0].address.substring(0,1)).to.not.be.uppercase
console.log("txhash", await client.blockchain_transaction_get(txResponse, 1))
console.log("broadcast transaction", await client.blockchain_transaction_get(txResponse, 1))
return txResponse
}

Expand Down

0 comments on commit c88069c

Please sign in to comment.