fix: update feeCalculator layout
This commit is contained in:
committed by
Michael Vines
parent
1712f12e29
commit
d417c7499a
@@ -535,12 +535,7 @@ const GetRecentBlockhashAndContextRpcResult = jsonRpcResultAndContext(
|
||||
struct({
|
||||
blockhash: 'string',
|
||||
feeCalculator: struct({
|
||||
burnPercent: 'number',
|
||||
lamportsPerSignature: 'number',
|
||||
maxLamportsPerSignature: 'number',
|
||||
minLamportsPerSignature: 'number',
|
||||
targetLamportsPerSignature: 'number',
|
||||
targetSignaturesPerSlot: 'number',
|
||||
}),
|
||||
}),
|
||||
);
|
||||
|
@@ -3,11 +3,7 @@
|
||||
/**
|
||||
* @typedef {Object} FeeCalculator
|
||||
* @property {number} lamportsPerSignature lamports Cost in lamports to validate a signature
|
||||
* @property {number} targetLamportsPerSignature
|
||||
* @property {number} targetSignaturesPerSlot
|
||||
*/
|
||||
export type FeeCalculator = {
|
||||
lamportsPerSignature: number,
|
||||
targetSignaturesPerSlot: number,
|
||||
targetLamportsPerSignature: number,
|
||||
};
|
||||
|
Reference in New Issue
Block a user