fix: update rpc methods to upstream changes

This commit is contained in:
Tyera Eulberg
2020-01-15 14:04:26 -07:00
committed by Michael Vines
parent bf6c2ed6f5
commit 369afecfeb
6 changed files with 98 additions and 146 deletions

View File

@ -24,9 +24,9 @@ export function mockGetRecentBlockhash(commitment: ?Commitment) {
context: {
slot: 11,
},
value: [
recentBlockhash.publicKey.toBase58(),
{
value: {
blockhash: recentBlockhash.publicKey.toBase58(),
feeCalculator: {
lamportsPerSignature: 42,
burnPercent: 50,
maxLamportsPerSignature: 42,
@ -34,7 +34,7 @@ export function mockGetRecentBlockhash(commitment: ?Commitment) {
targetLamportsPerSignature: 42,
targetSignaturesPerSlot: 42,
},
],
},
},
},
]);