Skip to content

Commit d825f43

Browse files
committed
build: update soroban-client to v0.9.2
1 parent db597c8 commit d825f43

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

components/molecules/form-pledge/index.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ function MintButton({ account, symbol, onComplete, decimals }: { decimals: numbe
2929
const [isSubmitting, setSubmitting] = useState(false)
3030

3131
const displayAmount = 100
32-
const amount = BigInt(displayAmount * 10**decimals)
32+
const amount = BigInt(displayAmount * 10 ** decimals)
3333

3434
return (
3535
<Button
3636
title={`Mint ${displayAmount} ${symbol}`}
3737
onClick={async () => {
3838
setSubmitting(true)
39-
await abundance.mint({ to: account, amount }, { signAndSend: true })
39+
await abundance.mint({ to: account, amount })
4040
setSubmitting(false)
4141
onComplete()
4242
}}
@@ -80,9 +80,7 @@ const FormPledge: FunctionComponent<IFormPledgeProps> = props => {
8080
try {
8181
await deposit({
8282
user: props.account,
83-
amount: BigInt(amount * 10**decimals),
84-
}, {
85-
signAndSend: true
83+
amount: BigInt(amount * 10 ** decimals),
8684
})
8785

8886
setResultSubmit({

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"next": "^13.4.4",
2323
"react": "^18.2.0",
2424
"react-dom": "^18.2.0",
25-
"soroban-client": "0.9.1"
25+
"soroban-client": "0.9.2"
2626
},
2727
"devDependencies": {
2828
"@types/humanize-duration": "^3.27.1",

0 commit comments

Comments
 (0)