Skip to content

Commit

Permalink
upgrade to [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
totiz committed Nov 3, 2019
1 parent 3e9c526 commit d5df51d
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 30 deletions.
59 changes: 34 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@download/blockies": "^1.0.3",
"axios": "^0.19.0",
"buefy": "^0.7.7",
"kulap-libra": "^2.0.1",
"kulap-libra": "^2.0.4",
"lodash": ">=4.17.13",
"lodash.defaultsdeep": ">=4.6.1",
"moment": "^2.24.0",
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
class="header-image"
>
</router-link>
<router-view/>
<router-view/>
<Footer/>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Wallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
icon-left="history"
@click="openTransaction"
>
{{ $t('transactionHistory') }}
{{ $t('transactionHistory') }}
</b-button>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/service/libra_service.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const BigNumber = require('bignumber.js')
const { LibraClient, LibraWallet, LibraAdmissionControlStatus } = require('kulap-libra')
const { LibraClient, LibraWallet } = require('kulap-libra')
const axios = require('axios')
const moment = require('moment')

Expand Down Expand Up @@ -45,7 +45,7 @@ class Libra {
const amountToTransfer = BigNumber(amount).times(1e6) // Amount in micro libras

// Stamp account state before transfering
const beforeAccountState = await client.getAccountState(account.getAddress())
await client.getAccountState(account.getAddress())

// Transfer
const response = await client.transferCoins(account, toAddress, amountToTransfer)
Expand Down

0 comments on commit d5df51d

Please sign in to comment.