fix(claimBid): move auctionExtendedKey to the end of keys list

This commit is contained in:
shotgunofdeath 2021-09-21 13:10:35 +03:00
parent 3596ab4798
commit 6da9c33064
1 changed files with 5 additions and 5 deletions

View File

@ -62,11 +62,6 @@ export async function claimBid(
isSigner: false,
isWritable: false,
},
{
pubkey: toPublicKey(auctionExtendedKey),
isSigner: false,
isWritable: false,
},
{
pubkey: toPublicKey(bidder),
isSigner: false,
@ -102,6 +97,11 @@ export async function claimBid(
isSigner: false,
isWritable: false,
},
{
pubkey: toPublicKey(auctionExtendedKey),
isSigner: false,
isWritable: false,
},
];
instructions.push(