Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagel committed Oct 20, 2021
1 parent caf6cc6 commit cf62489
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion web-registry/src/components/organisms/BuyCreditsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,9 @@ const BuyCreditsModal: React.FC<BuyCreditsModalProps> = ({
optional
/>
</Collapse>
<button onClick={() => fknSend()}>sendTokens</button>
<button onClick={() => fknSend()} type="button">
sendTokens
</button>
</Form>
<Submit
isSubmitting={isSubmitting}
Expand Down
5 changes: 1 addition & 4 deletions web-registry/src/wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,7 @@ export const WalletProvider: React.FC = ({ children }) => {
},
];
// const balance = await client.getBalance(accounts[0].address, 'uregen'); <-- this works

const result = await client.sendTokens(accounts[0].address, recipient, coinAmount, fee, 'test'); // <-- this throws pub
console.log('result', result);

const result = await client.sendTokens(accounts[0].address, recipient, coinAmount, fee, 'test'); // <-- this throws Pubkey type_url undefined not recognized
assertIsBroadcastTxSuccess(result);
}
}
Expand Down

0 comments on commit cf62489

Please sign in to comment.