Skip to content

Instantly share code, notes, and snippets.

@redjade
Last active June 9, 2018 14:04
Show Gist options
  • Save redjade/8c9aff2a727c189df45e0fcdadd483e7 to your computer and use it in GitHub Desktop.
Save redjade/8c9aff2a727c189df45e0fcdadd483e7 to your computer and use it in GitHub Desktop.
diff on nodeos v1.0.2 for issue #3976
diff --git a/plugins/chain_plugin/chain_plugin.cpp b/plugins/chain_plugin/chain_plugin.cpp
index 0a07bb4c5..e8c665366 100644
--- a/plugins/chain_plugin/chain_plugin.cpp
+++ b/plugins/chain_plugin/chain_plugin.cpp
@@ -1024,7 +1024,7 @@ read_only::get_account_results read_only::get_account( const get_account_params&
if ( it != idx.end() ) {
vector<char> data;
copy_inline_row(*it, data);
- result.self_delegated_bandwidth = abis.binary_to_variant( "self_delegated_bandwidth", data );
+ result.self_delegated_bandwidth = abis.binary_to_variant( "delegated_bandwidth", data );
}
}
@redjade
Copy link
Author

redjade commented Jun 9, 2018

Done by Daniel.

EOSIO/eos@843ed64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment