MCPcopy Create free account
hub / github.com/DNAProject/DNA / AddAccount

Method AddAccount

account/file_store.go:109–111  ·  view source on GitHub ↗
(acc *AccountData)

Source from the content-addressed store, hash-verified

107}
108
109func (this *WalletData) AddAccount(acc *AccountData) {
110 this.Accounts = append(this.Accounts, acc)
111}
112
113func (this *WalletData) DelAccount(address string) {
114 _, index := this.GetAccountByAddress(address)

Callers 3

TestWalletSaveFunction · 0.95
TestWalletDelFunction · 0.95
addAccountDataMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestWalletSaveFunction · 0.76
TestWalletDelFunction · 0.76