Skip to content

Commit c6acb02

Browse files
committed
Mine - updation done
1 parent 7e0b8e6 commit c6acb02

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wallet",
3-
"version": "1.5.0",
3+
"version": "1.8.2",
44
"description": "wallet app for rubix users",
55
"author": "Rubix Maintainers <maintainers@rubix.network>",
66
"private": true,
@@ -91,5 +91,7 @@
9191
"browserslist": [
9292
"> 1%",
9393
"last 2 versions"
94-
]
95-
}
94+
],
95+
"repository": "https://github.com/rubixchain/wallet.git",
96+
"license": "MIT"
97+
}

src/pages/Wallet.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<span class="px-3 title-font font-medium text-white">{{
9595
accountData.credits.unspentCredits
9696
}}</span>
97-
<div v-if="accountData.credits.unspentCredits > 16" class="px-6">
97+
<div class="px-6">
9898
<button
9999
@click="mine"
100100
class="
@@ -163,7 +163,11 @@ export default {
163163
mine() {
164164
console.log("calling mine");
165165
axios
166-
.get("http://localhost:1898/mine")
166+
.get("http://localhost:1898/mine",{
167+
params:{
168+
type: 1
169+
}
170+
})
167171
.then((response) => {})
168172
.catch(function (error) {
169173
console.log(error);

0 commit comments

Comments
 (0)