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

@ -6,7 +6,7 @@
function getTransactionFee(connection) {
return connection.getRecentBlockhash().then(response => {
return response[1];
return response.feeCalculator;
});
}