We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f0b00a commit fe5e401Copy full SHA for fe5e401
src/models/Account.js
@@ -51,7 +51,10 @@ export default class Account {
51
clone(){ return Account.fromJson(JSON.parse(JSON.stringify(this))) }
52
53
asReturnable(){
54
- return PluginRepository.plugin(this.blockchain()).returnableAccount(this);
+ const returnable = PluginRepository.plugin(this.blockchain()).returnableAccount(this);
55
+ returnable.chainId = this.network().chainId;
56
+ returnable.isHardware = !!this.keypair().external;
57
+ return returnable;
58
}
59
60
tokenCount(systemToken = null){
0 commit comments