Skip to content

Instantly share code, notes, and snippets.

View jchung00's full-sized avatar

Jae Chung jchung00

View GitHub Profile
@redjade
redjade / diff
Last active June 6, 2018 20:52
diff for adding mitigatebiosramcost on EOSIO master (commit id 379cb1a9e2a6557221d946eef4c5c83ddd156799, Tue Jun 5 18:00:26 2018 -0500)
diff --git a/contracts/eosio.system/delegate_bandwidth.cpp b/contracts/eosio.system/delegate_bandwidth.cpp
index 14b355f71..0d13c9fe7 100644
--- a/contracts/eosio.system/delegate_bandwidth.cpp
+++ b/contracts/eosio.system/delegate_bandwidth.cpp
@@ -189,6 +189,15 @@ namespace eosiosystem {
}
}
+ void system_contract::mitigatebiosramcost( account_name boot, asset quant ) {
+ require_auth(boot);