Fixed indexing a function rather than calling it in WalletStorage.put