Sort by ETH balance and contract by date (#3107)
* Added timestamps to contract creation // Sort by date (#3070) * Added sort by ETH balance (#3070) * Added timestamp meta to accounts / addresses entry creations (#3107)
This commit is contained in:
committed by
Jaco Greeff
parent
6098f008ce
commit
391f408653
@@ -214,7 +214,10 @@ export default class CreateAccount extends Component {
|
||||
this.setState({ address });
|
||||
return api.personal
|
||||
.setAccountName(address, this.state.name)
|
||||
.then(() => api.personal.setAccountMeta(address, { passwordHint: this.state.passwordHint }));
|
||||
.then(() => api.personal.setAccountMeta(address, {
|
||||
timestamp: Date.now(),
|
||||
passwordHint: this.state.passwordHint
|
||||
}));
|
||||
})
|
||||
.then(() => {
|
||||
this.onNext();
|
||||
@@ -236,7 +239,10 @@ export default class CreateAccount extends Component {
|
||||
this.setState({ address });
|
||||
return api.personal
|
||||
.setAccountName(address, this.state.name)
|
||||
.then(() => api.personal.setAccountMeta(address, { passwordHint: this.state.passwordHint }));
|
||||
.then(() => api.personal.setAccountMeta(address, {
|
||||
timestamp: Date.now(),
|
||||
passwordHint: this.state.passwordHint
|
||||
}));
|
||||
})
|
||||
.then(() => {
|
||||
this.onNext();
|
||||
@@ -285,7 +291,10 @@ export default class CreateAccount extends Component {
|
||||
|
||||
return api.personal
|
||||
.setAccountName(address, this.state.name)
|
||||
.then(() => api.personal.setAccountMeta(address, { passwordHint: this.state.passwordHint }));
|
||||
.then(() => api.personal.setAccountMeta(address, {
|
||||
timestamp: Date.now(),
|
||||
passwordHint: this.state.passwordHint
|
||||
}));
|
||||
})
|
||||
.then(() => {
|
||||
this.onNext();
|
||||
|
||||
Reference in New Issue
Block a user