fix: recent blockhash decoding for conf transactions

This commit is contained in:
Justin Starry
2020-05-07 23:01:19 +08:00
committed by Michael Vines
parent c5802bcbb6
commit 09d1b7f39f
2 changed files with 3 additions and 4 deletions

View File

@@ -537,7 +537,7 @@ export class Transaction {
numReadonlySignedAccounts,
numReadonlyUnsignedAccounts,
},
recentBlockhash: bs58.encode(Buffer.from(recentBlockhash)),
recentBlockhash,
accountKeys: accounts.map(account => new PublicKey(account)),
instructions,
};