Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

Commit 87f5bc4

Browse files
committed
feat(contracts): added setTrustline and StellarSdk serverHorizon
1 parent deacf35 commit 87f5bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/contracts/src/setTrustline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export async function setTrustline({
2828
// }
2929
if (!networkPassphrase) throw new Error('No networkPassphrase')
3030

31-
let source = await serverHorizon.loadAccount(address)
31+
let source = await serverHorizon.loadAccount(address!)
3232

3333
const operation = StellarSdk.Operation.changeTrust({
3434
source: source.accountId(),

0 commit comments

Comments
 (0)