Skip to content

Commit

Permalink
Update creating an account example (stellar#299)
Browse files Browse the repository at this point in the history
Related to stellar-deprecated/docs#431 I think the `.setTimeout()` was missed in this example.
  • Loading branch information
chaseoli committed Feb 10, 2020
1 parent 84b3c16 commit 7ea6cac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/base-examples.md
Expand Up @@ -33,6 +33,7 @@ server.accounts()
destination: destination.publicKey(),
startingBalance: '25'
}))
.setTimeout(30)
.build()
transaction.sign(StellarSdk.Keypair.fromSecret(source.secret()))
return server.submitTransaction(transaction)
Expand Down

0 comments on commit 7ea6cac

Please sign in to comment.